<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
  <head>
    <title><s:property value="photo.title"/></title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,uer-scalable=no">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.1.1/css/bootstrap.min.css">
    
  </head>
  <body>
  
  <div class="container">
  <s:hidden name="photo.id"></s:hidden>
  
  <div class="row" style="-webkit-margin-before:4px; -webkit-margin-after:4px;">
  	
    <div class="col-xs-8 text-primary">
    	<img src='<s:property value="photo.user.headimgurl64" />' class="img-circle img-thumbnail" style="width:36px; height:36px; padding:1px;" ><s:property value="photo.user.nickname" />
    </div>
    <div class="col-xs-4">
    	<p class="text-muted text-right">2小时前</p>
    </div>
  </div>
  
  <div>
    <div class="thumbnail">
      <img alt="300x200" src='<s:property value="photo.photoUrl" />' class="img-responsive">
      <div class="caption">
        <h5><s:property value="photo.photoTitle" /></h5>
        <p class="text-muted"><s:property value="photo.photoDesc" /></p>
        <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
      </div>
    </div>
  </div>
  
  </div>
  
  
  </body>
  
</html>